<% include header %>
    <% if(signupEmail) { %>
        <p>已注册成功! 请登录 </p>
    <% } %>

    <form action="/login" method="POST">
        <fieldset>
            <legend>Log in</legend>
            <p>
                <label>Email</label>
                <input name="email" type="text" value="<%= signupEmail %>" />
            </p>
            <p>
                <label>Password</label>
                <input name="password" type="text" />
            </p>
            <p>
                <button type="submit">Submit</button>
            </p>
            <p>
                <a href="/">Go Back</a>
            </p>
        </fieldset>
    </form>
<% include footer %>
